package com.yangaobo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 杨奥博
 */
@ColumnWidth(20)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AssetsExcel implements Serializable {
    @ExcelProperty(value = {"资产数据统计表", "资产标题"})
    private String title;
    @ExcelProperty(value = {"资产数据统计表", "资产图片"})
    private String picture;
    @ExcelProperty(value = {"资产数据统计表", "资产单价"})
    private Double price;
    @ExcelProperty(value = {"资产数据统计表", "资产单价单位"})
    private String priceUnit;
    @ExcelProperty(value = {"资产数据统计表", "资产库存"})
    private Integer stock;
    @ExcelProperty(value = {"资产数据统计表", "资产库存单位"})
    private String stockUnit;
    @ExcelProperty(value = {"资产数据统计表", "资产总数"})
    private Integer total;
    @ExcelProperty(value = {"资产数据统计表", "资产描述"})
    private String info;
    @ExcelProperty(value = {"资产数据统计表", "资产创建时间"})
    private LocalDateTime created;
    @ExcelProperty(value = {"资产数据统计表", "资产更新时间"})
    private LocalDateTime updated;
}
